home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / MPW Oberon 2.1168 / OExamples / Sample.make < prev    next >
Encoding:
Text File  |  1994-11-03  |  1.9 KB  |  65 lines  |  [TEXT/MPS ]

  1. #
  2. #    Apple Macintosh Developer Technical Support
  3. #
  4. #    MultiFinder-Aware Simple Sample Application
  5. #
  6. #    Sample
  7. #
  8. #    Sample.make    -    Make Source
  9. #
  10. #    Copyright © 1989 Apple Computer, Inc.
  11. #    All rights reserved.
  12. #
  13. #    Versions:    
  14. #                1.00                08/88
  15. #                1.01                11/88
  16. #                1.02                04/89    MPW 3.1
  17. #                1.03                02/90    MPW 3.2
  18. #
  19. #    Components:
  20. #                Sample.p            Feb.  1, 1990
  21. #                Sample.r            Feb.  1, 1990
  22. #                Sample.h            Feb.  1, 1990
  23. #                Sample.make            Feb.  1, 1990
  24. #
  25. #    Sample is an example application that demonstrates how to
  26. #    initialize the commonly used toolbox managers, operate 
  27. #    successfully under MultiFinder, handle desk accessories, 
  28. #    and create, grow, and zoom windows.
  29. #
  30. #    It does not by any means demonstrate all the techniques 
  31. #    you need for a large application. In particular, Sample 
  32. #    does not cover exception handling, multiple windows/documents, 
  33. #    sophisticated memory management, printing, or undo. All of 
  34. #    these are vital parts of a normal full-sized application.
  35. #
  36. #    This application is an example of the form of a Macintosh 
  37. #    application; it is NOT a template. It is NOT intended to be 
  38. #    used as a foundation for the next world-class, best-selling, 
  39. #    600K application. A stick figure drawing of the human body may 
  40. #    be a good example of the form for a painting, but that does not 
  41. #    mean it should be used as the basis for the next Mona Lisa.
  42. #
  43. #    We recommend that you review this program or TESample before 
  44. #    beginning a new application.
  45. #
  46. #     You can define {SymOptions} as "-sym on" or "-sym off" for use with SADE
  47. OOptions = {SymOptions}
  48.  
  49. .mod.o ƒ .mod
  50.     Oberon {OOptions} {DepDir}{Default}.mod -o {TargDir}{Default}.mod.o
  51.  
  52. OObjs        = Sample.mod.o ∂
  53.         "{Libraries}"Runtime.o ∂
  54.         "{Libraries}"Interface.o ∂
  55.         "{OLibraries}"OberonLib.o
  56.  
  57. Sample        ƒƒ {OObjs} Sample.make
  58.         Link -o {Targ} {OObjs} {SymOptions}
  59.         SetFile {Targ} -t APPL -c 'MOOS' -a B
  60.  
  61. Sample        ƒƒ Sample.r Sample.h Sample.make
  62.         Rez -rd -o {Targ} Sample.r -append
  63.  
  64. Sample.mod.o    ƒƒ Sample.make
  65.